﻿using Microsoft.Practices.Unity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Daphne.SharedMetro
{
    /// <summary>
    /// Side to move used by clock
    /// </summary>
    public enum eClockSTM { White, Black };

    /// <summary>
    /// Type of game control for clock
    /// </summary>
    public enum eClockType { NoControl, ControlForGame , ControlForMove };

    /// <summary>
    /// Enum for game theme
    /// </summary>
    public enum eGameTheme { Classic, Marble, WhiteAndBlack };

    /// <summary>
    /// Record for minutes for given number of moves
    /// </summary>
    public struct MinutesForMove
    {
        public int Minutes;
        public int Moves;
    }
    
    /// <summary>
    /// Clock settings
    /// </summary>
    public struct ClockSettings
    {
        public eClockType ClockType;
        public int MinutesForGame;
        public MinutesForMove[] MinutesForMove;
        public int? MinutesToFinishGame; 
    }
}
